//
//  RootViewController.m
//  UI之下拉菜单
//
//  Created by dllo on 15/10/19.
//  Copyright (c) 2015年 蓝鸥科技. All rights reserved.
//

#import "RootViewController.h"
#import "Myview.h"
@interface RootViewController ()

@end

@implementation RootViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.view.backgroundColor = [UIColor whiteColor];
    // Do any additional setup after loading the view.
    Myview *myview = [[Myview alloc] initWithFrame:CGRectMake(100, 100, 100, 400)];
    [self.view addSubview:myview];
//    myview.button.frame = CGRectMake(100, 100, 100, 40);
    NSArray *array = [NSArray arrayWithObjects:@"1", @"2", @"3", @"4", nil];
    myview.array = array;
    [self.view addSubview:myview.button];
    
                     
   
    
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
